//
//  CLButtonExtension.h
//  toroBracelet
//
//  Created by 丁益 on 16/7/28.
//  Copyright © 2016年 celi. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^CLButtonOnclickBlock)();

@interface CLButtonExtension : UIView

+ (id)buttonExtensionWithSize:(CGSize)size Image:(NSString *)imageStr titel:(NSString *)titel onclickBlock:(CLButtonOnclickBlock)onclickBlock;
+ (id)buttonExtensionWithConstomImageSize:(CGSize)imageSize titelSize:(CGSize)titelSize Image:(NSString *)imageStr titel:(NSString *)titel onclickBlock:(CLButtonOnclickBlock)onclickBlock;

- (void) refreshWithImageStr:(NSString*)imageStr titel:(NSString*)titel;

- (void)setTitelColor:(UIColor*)color;
- (void)setTitelFont:(UIFont*)font;
@end
